<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2021/8/27
  Time: 15:06
  To change this template use File | Settings | File Templates.
--%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <base href="<%=basePath%>"/>
    <title>Title</title>
    <link href="<%=basePath%>static/css/style.css" rel="stylesheet" type="text/css"/>
</head>

<body>

<div class="place">
    <span>位置：</span>
    <ul class="placeul">
        <li><a href="#">首页</a></li>
        <li><a href="#">表单</a></li>
    </ul>
</div>
<form action="<%=basePath%>userController/update.do" method="post">
    <input type="hidden" name="idStr" value="${user.userId}">
    <div class="formbody">

        <div class="formtitle"><span>基本信息</span></div>
        <ul class="forminfo">
            <li><label>名称：</label><input name="name"  value="${user.name}" type="text" class="dfinput"/><i>名称不能超过30个字符</i></li>
            <li><label>登录名：</label><input name="userName" value="${user.username}" type="text" class="dfinput"/><i>名称不能超过30个字符</i></li>
            <li><label>密码：</label><input name="password" type="password"  value="${user.password}" class="dfinput"/><i>密码不能超过30个字符</i></li>
            <li><label>性别：</label><input name="sex" type="text"  value="${user.password}" class="dfinput"/><i>性别不能超过30个字符</i></li>
            <li><label>地址：</label><input name="address" type="text"  value="${user.address}" class="dfinput"/><i>地址不能超过30个字符</i></li>
            <li><label>&nbsp;</label><input name="" type="submit" class="btn" value="确认修改"/></li>
        </ul>

    </div>
</form>
</body>
</html>
